package com.nn.smart.bus.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 行政区划
 *
 * @author nanning
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("area")
public class AreaEntity implements Serializable {

    private static final long serialVersionUID = -2139014717755304245L;

    /**
     * ID
     */
    private Integer id;
    /**
     * 父级ID
     */
    private Integer parentId;
    /**
     * 名称
     */
    private String name;
    /**
     * 简称
     */
    private String shortName;
    /**
     * 经度
     */
    private Float longitude;
    /**
     * 纬度
     */
    private Float latitude;
    /**
     * 等级(1省/直辖市,2地级市,3区县,4镇/街道)
     */
    private Integer level;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 状态(0禁用/1启用)
     */
    private Integer status;


}
